﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Daemon.Model
{
    [Table("take_away_userorder")]
    public partial class TakeAwayUserOrder
    {
        [Key]
        [Column("Id")]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]

        public int Id { get; set; }

        public string OrderNumber { get; set; }

        public string TakeAwayNumber { get; set; }

        public string Description { get; set; }

        public int UserId { get; set; }

        public int IsTakeAway { get; set; }

        public DateTime AddTime { get; set; }

        /// <summary>
        ///  0 1 2 3
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        ///  1  ye
        ///  2  wx
        /// </summary>
        public int PayType { get; set; }

        public decimal Price { get; set; }

        public int ShopId { get; set; }

        public string UserAddress { get; set; }

        public string UserPhone { get; set; }

        public string Lng { get; set; }

        public string Lat { get; set; }

        public string OrderUserName { get; set; }

        public DateTime? DeliveryTime { get; set; }

        public decimal? DeliveryPrice { get; set; }

        public int? BoardId { get; set; }

        public bool? IsPredetermine { get; set; }

        public string PeopleCount { get; set; }

        public bool IsRead { get; set; }
    }
}
